<%@ page import="DroidEye.JavaBean.ApplyBean" %>
<%@ page import="DroidEye.DAO.StudentDAO" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--<jsp:include page="RightSideBackGroundSetter.jsp"/>--%>
<html>
<body>

<%
    String studentID = (String) session.getAttribute("ThisStudentID");
%>
<%
    ApplyBean applyBean = null;
    StudentDAO studentDAO = StudentDAO.getStudentDAOInstance();
    applyBean = studentDAO.querySelectedProjectApplyInfo(studentID);
    String studentName = studentDAO.querySingleStudent(studentID).getStudentName();
%>
    <center>
        <h3 class="font25 bold pad-bottom10">欢迎<%=studentID%>号学生！</h3>
     </center>
<center>
    <div style="margin-top: 200px">
        <%
            if (applyBean == null) {
                out.print("您暂未选择项目，请先");
        %>
        <a href="StudentPasswordCheck.jsp?URL=StudentSelectedProject.jsp">申报项目</a>
        <%
        } else {
            session.setAttribute("ThisStudentSelectedProject",applyBean);
        %>
        <div class="font18">
            <div class="pad-bottom10"><span class="bold pad10"><%=studentName%></span>您已选择的项目信息如下：</div><br/>
            <div class="info-name"><span>项目号：</span><%=applyBean.getProjectID()%></div>
            <div class="info-name"><span>项目名：</span><%=applyBean.getProjectName()%></div>
            <div class="info-name"><span>辅导教师号：</span><%=applyBean.getTeacherID()%></div>
            <div class="info-name"><span>辅导教师姓名：</span><%=applyBean.getTeacherName()%></div>
            <div class="info-name"><span>申报进度：</span><%=applyBean.getProjectProgress()%></div>
            <div class="info-name"><span>通过状态：</span><%=applyBean.getPassStatus()%></div>
            <div class="info-name">点击<a href="StudentPasswordCheck.jsp?URL=StudentSelectedProjectMoreInfo.jsp" class="pad10">更多信息</a>以查看其它内容</div>
        </div>
            <%
            }
        %>
    </div>


</center>
</body>
</html>
